package ${package.Service};
import java.util.List;
import ${package.Entity}.${entity};
import ${superServiceClassPackage};

/**
 * <p>
 * ${table.comment} 服务类
 * </p>
 *
 * @author ${author}
 * @since ${date}
 */
<#if kotlin>
interface ${table.serviceName} : ${superServiceClass}<${entity}>
<#else>
public interface ${table.serviceName} extends ${superServiceClass}<${entity}> {

	 /**
	 * <p>
	 * 新增服务
	 * </p>
	 */
    boolean save(${entity} ${entity?uncap_first});

     /**
	 * <p>
	 * 更新服务
	 * </p>
	 */
	boolean update(${entity} ${entity?uncap_first});
	
	 /**
	 * <p>
	 * 删除服务
	 * </p>
	 */
	boolean deleteById(Long id);
	
	 /**
	 * <p>
	 * 批量删除服务
	 * </p>
	 */
	boolean deleteByIds(List<Long> ids);


}
</#if>
